.class public Lcom/bitauto/autoeasy/bbs/BBSActivity$Mycomparator2;
.super Ljava/lang/Object;
.source "BBSActivity.java"

# interfaces
.implements Ljava/util/Comparator;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/bitauto/autoeasy/bbs/BBSActivity;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x1
    name = "Mycomparator2"
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Ljava/util/Comparator",
        "<",
        "Lcom/bitauto/autoeasy/bbs/Object/BbsInfo;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic this$0:Lcom/bitauto/autoeasy/bbs/BBSActivity;


# direct methods
.method public constructor <init>(Lcom/bitauto/autoeasy/bbs/BBSActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 248
    iput-object p1, p0, Lcom/bitauto/autoeasy/bbs/BBSActivity$Mycomparator2;->this$0:Lcom/bitauto/autoeasy/bbs/BBSActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public compare(Lcom/bitauto/autoeasy/bbs/Object/BbsInfo;Lcom/bitauto/autoeasy/bbs/Object/BbsInfo;)I
    .locals 5
    .parameter "object1"
    .parameter "object2"

    .prologue
    .line 251
    move-object v0, p1

    .line 252
    .local v0, c1:Lcom/bitauto/autoeasy/bbs/Object/BbsInfo;
    move-object v1, p2

    .line 253
    .local v1, c2:Lcom/bitauto/autoeasy/bbs/Object/BbsInfo;
    sget-object v3, Ljava/util/Locale;->ENGLISH:Ljava/util/Locale;

    invoke-static {v3}, Ljava/text/Collator;->getInstance(Ljava/util/Locale;)Ljava/text/Collator;

    move-result-object v2

    .line 254
    .local v2, cmp:Ljava/text/Collator;
    invoke-virtual {v0}, Lcom/bitauto/autoeasy/bbs/Object/BbsInfo;->getFirstChar()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1}, Lcom/bitauto/autoeasy/bbs/Object/BbsInfo;->getFirstChar()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v2, v3, v4}, Ljava/text/Collator;->compare(Ljava/lang/String;Ljava/lang/String;)I

    move-result v3

    return v3
.end method

.method public bridge synthetic compare(Ljava/lang/Object;Ljava/lang/Object;)I
    .locals 1
    .parameter
    .parameter

    .prologue
    .line 1
    check-cast p1, Lcom/bitauto/autoeasy/bbs/Object/BbsInfo;

    check-cast p2, Lcom/bitauto/autoeasy/bbs/Object/BbsInfo;

    invoke-virtual {p0, p1, p2}, Lcom/bitauto/autoeasy/bbs/BBSActivity$Mycomparator2;->compare(Lcom/bitauto/autoeasy/bbs/Object/BbsInfo;Lcom/bitauto/autoeasy/bbs/Object/BbsInfo;)I

    move-result v0

    return v0
.end method
